home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / util / libs / ReqToolsLib.lha / ReqToolsLib / Source / reqtools / rtfreerequest.c < prev    next >
Encoding:
C/C++ Source or Header  |  2001-07-02  |  1.2 KB  |  68 lines

  1.  
  2. /*
  3.     (C) 1999 - 2000 AROS - The Amiga Research OS
  4.     $Id: rtfreerequest.c,v 1.3 2000/11/26 16:53:48 stegerg Exp $
  5.  
  6.     Desc:
  7.     Lang: English
  8. */
  9.  
  10. #include <exec/types.h>
  11. #include <proto/exec.h>
  12. #include <proto/reqtools.h>
  13. #include <proto/intuition.h>
  14. #include <exec/libraries.h>
  15. #include <exec/memory.h>
  16. #include <aros/libcall.h>
  17.  
  18. #include "reqtools_intern.h"
  19.  
  20. /*****************************************************************************
  21.  
  22.     NAME */
  23.  
  24.     AROS_LH1(void, rtFreeRequest,
  25.  
  26. /*  SYNOPSIS */
  27.  
  28.     AROS_LHA(APTR, req, A1),
  29.  
  30. /*  LOCATION */
  31.  
  32.     struct ReqToolsBase *, ReqToolsBase, 6, ReqTools)
  33.  
  34. /*  FUNCTION
  35.     Free requester structure previously allocated by rtAllocRequestA().
  36.     This will also free all buffers associated with the requester, so
  37.     there is no need to call rtFreeReqBuffer() first.
  38.    
  39.     INPUTS
  40.     req - pointer to requester (may be NULL).
  41.  
  42.     RESULT
  43.     none
  44.  
  45.     NOTES
  46.  
  47.     EXAMPLE
  48.  
  49.     BUGS
  50.     none known
  51.  
  52.     SEE ALSO
  53.     rtAllocRequestA()
  54.  
  55.     INTERNALS
  56.  
  57.     HISTORY
  58.  
  59. ******************************************************************************/
  60. {
  61.     AROS_LIBFUNC_INIT
  62.  
  63.     FreeRequest(req); /* in filereqalloc.c */
  64.     
  65.     AROS_LIBFUNC_EXIT
  66.     
  67. } /* rtFreeRequest */
  68.